html,body{ background-color: #fafafa; }



/* 单选框 */
.layui-form-radio{ margin: 0 10px 0 0; }
.layui-form-radio > i{ font-size: 16px; color: #323232; }
.layui-form-radio > i:hover, .layui-form-radioed > i { color: #1D39C4; }
/* /单选框 */

/* 复选框 */
.layui-form-checkbox[lay-skin=primary]{ padding-left: 0; }
.layui-form-checkbox[lay-skin=primary] span{ color:#333 }
.layui-form-checkbox[lay-skin=primary] i{ width: 20px; height: 20px; line-height: 20px; }
.layui-form-checkbox[lay-skin=primary]:hover i {
	border-color: #1D39C4;
	color: #fff
}
.layui-form-checkbox[lay-skin=primary] span{
    padding-left: 15px;
    padding-right: 15px;
    line-height: 18px;
    background: 0 0;
    color: #323232;
}
.layui-form-checked[lay-skin=primary] i{
    border-color: #1D39C4!important;
    background-color: #1D39C4;
    color: #fff;
}
/* .layui-form-checked span,.layui-form-checked:hover span{ background-color: #1D39C4; }
.layui-form-checked,.layui-form-checked:hover{ border-color: #1D39C4; }
.layui-form-checked i,.layui-form-checked:hover i{ color: #1D39C4; } */



/* /复选框 */

.form-style input, .form-style select, .form-style textarea{
	width: 100%;
	height: 32px;
	line-height: 32px;
	border: 1px solid #ddd;
	background-color: #fff;
	border-radius: 4px;
	box-sizing: border-box;
	padding: 0 10px;
	outline: none;
}

/* .layui-input, .layui-select, .layui-textarea{
	width: 100%;
    height: 32px;
    line-height: 32px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
	box-sizing: border-box;
	padding: 0 10px;
	outline: none;
} */

.form-select-img{
	background: url(../img/icon_select.png) no-repeat right 10px center;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}

.form-input-time{
	background: url(../img/icon_time.png) no-repeat right 10px center;
}
.form-input-time1{
	background: url(../img/icon_time1.png) no-repeat right 10px center;
}
.form-input-time2{
	background: url(../img/icon_time2.png) no-repeat right 10px center;
}
/* 表格 */
.layui-table-view .layui-table{ width: 100%; }
.layui-table-view .layui-table td, .layui-table-view .layui-table th{ padding: 0; }
.layui-table-cell{ height: 48px; line-height: 48px; }

.layui-table td, .layui-table th, .layui-table-col-set, .layui-table-fixed-r, .layui-table-grid-down, .layui-table-header, .layui-table-page, .layui-table-tips-main, .layui-table-tool, .layui-table-total, .layui-table-view, .layui-table[lay-skin=line], .layui-table[lay-skin=row] { border: 1px solid #eee; }

.layui-table, .layui-table-view{ border-radius: 0 0 4px 4px; border: 0; margin: 0; }

.layui-tab-title li{ width: 110px; padding: 0; border:1px solid #eee; border-bottom: 0; border-radius: 4px 4px 0 0; margin-right: 16px; height: 38px; background-color: #fff;  }



.layui-tab-title, .layui-tab-title .layui-this:after{
    border-color: #eee;
}

.layui-tab-title .layui-this{ color: #1D39C4; border-color: #eee; }
.layui-tab-title .layui-this:after{
	height: 40px;
    border:0;
	border-bottom: 1px solid #fff;
	border-radius: 4px 4px 0 0;
}

.layui-table-col-set, .layui-table-fixed-r, .layui-table-grid-down, .layui-table-header, .layui-table-page, .layui-table-tips-main{ border: none; }

.layui-table th,.layui-table td{ text-align: center; color: #333; border: 0;  padding: 0 15px; line-height: 48px; }
.layui-table td{ border-bottom: 1px solid #eee; }
.layui-table tbody tr:hover, .layui-table thead tr, .layui-table-click, .layui-table-header, .layui-table-hover, .layui-table-mend, .layui-table-patch, .layui-table-tool, .layui-table-total, .layui-table-total tr, .layui-table[lay-even] tr:nth-child(even) { background-color: transparent; }
.layui-table-header th{ background: rgba(15, 113, 226, 0.08); font-weight: 600; }
.layui-table tr:nth-child(even) td{ background: rgba(15, 113, 226, 0.04); }





/**  主体  **/
.layui-layout-admin .layui-body{ bottom: 0; overflow: hidden; left: 240px;}
.layui-body{ left: 0; overflow-x: auto; }
.layui-body-bot{ bottom: 60px; }
/* 滚动条隐藏 */
.scroll-box{
	position: relative;
	position: absolute;
	top: 24px;
	left: 24px;
	right: 24px;
	bottom: 24px;
	overflow: hidden;
	min-width: 1000px; 
	border-radius: 1px;
}
.scroll-box-padding{ 
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	bottom: 20px;
	overflow: hidden;
	
}
.scroll-box-top{ top: 60px; }
/* .scroll-box-bot{ bottom: 84px; } */
.scroll-box-con{ margin-right: -20px; padding-right: 4px; box-sizing: border-box; height: 100%; overflow: hidden; overflow-y: scroll;  }
/* /滚动条隐藏 */


/* 表格操作按钮样式 */
.table-list-btn span{ padding: 0 10px; display: inline-block; line-height: 14px; position: relative; }
.table-list-btn span::after{ 
	content: '';
	display: block;
	height: 14px;
	border-right: 1px solid #eee;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
}
.table-list-btn span:last-child::after{ display: none; }

/* 用户管理-角色权限 */
/* .form-con{ display: inline-block; }
.form-con-child{ overflow: visible; position: relative; }
.form-con-child::after{
	content: '';
	display: block;
	clear: both;
} */
.form-box{ overflow: hidden; }
.form-box > div{ float: left; line-height: 32px; }
.form-box > div{ width: 33.33%; margin-bottom: 20px; line-height: 32px; position: relative; }
.form-box > div div.form-title{ 
	position: absolute;
	top: 0;
	left: 0;
	width: 70px;
	text-align: right;
}
.form-box > div div.form-content{ padding:0 70px; }
.table-btn-img img{ vertical-align: -1px; margin-right: 5px; }


/* 用户管理-新建 */
.add-title{ font-size: 16px; height: 30px; line-height: 30px; padding: 15px 24px; }
.add-title img{ vertical-align: -7px; }
.add-title-border{ font-size: 16px; padding-left: 15px; font-weight: bold; position: relative; margin-bottom: 20px; }
.add-title-border::before{ 
	content: '';
	display: block;
	width: 4px;
	height: 24px;
	background-color: #1D39C4;
	position: absolute;
	left: 0;
	top: 0;
}
.form-user-new{ width: 900px; }
.form-user-new > div{ width: 400px; }
.form-user-new > div div.form-title{ width: 92px; }
.form-user-new > div div.form-content{ padding: 0 70px 0 92px; }
.facility-ul{ display: flex; flex-wrap:wrap; }
.facility-ul li{ 
	width: 180px;
	text-align: center;
	height: 28px;
	line-height: 28px;
	margin:0 24px 16px 0;
	color: #fff;
	background: rgba(29, 57, 196, 0.8);
	border-radius: 4px; 
	cursor: pointer;
}


/* 人员管理-新建（无信息） */
.form-user-article{ display: flex; }
.form-user-article > div:nth-child(2) dl{ width: 120px; text-align: center; }
.form-user-article > div:nth-child(2) dt{ width: 102px; margin: 0 auto 10px; height: 115px; border-radius: 4px; background-color: #d8d8d8; }
.form-user-article > div:nth-child(2) dt img{ width: 100%; height: 100%; border-radius: 4px; }
.form-user-article > div:nth-child(2) dt span{ position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); }
.form-user-new-mess{ width: 700px; }
.form-user-new-mess > div{ width: 50%; }
.form-user-new-mess > div div.form-title{ width: 78px; }
.form-user-new-mess > div div.form-content{ padding: 0 50px 0 78px; }

/* 人员管理-新建（有信息） */
.layui-table-header input[type="text"]{ width: 180px; }
.layui-table-header input:disabled {
    background-color: #fafafa;
    border-color: #ddd;
}
#layui-laydate1 .layui-this, #layui-laydate1 .laydate-selected:hover{
    background-color: #1D39C4 !important;
    color: #fff!important;
}
#layui-laydate1 .layui-laydate-content td.laydate-selected{
    background-color: #D2D7F3;
}
.laydate-selected.laydate-day-next, .laydate-selected.laydate-day-prev {
    background-color: #f8f8f8 !important;
}
#layui-laydate2.layui-laydate .layui-this,#layui-laydate3.layui-laydate .layui-this{
    background-color: #1D39C4!important;
    color: #fff!important;
}
.layui-laydate-footer span:hover,.layui-laydate-footer span[lay-type=date]{ color: #1D39C4 !important; }
/* 设备管理-数据管理列表 */
.form-box-access > div div.form-content{ padding: 0 40px 0 70px; }
.layui-table-img td .layui-table-cell{ height:98px;  line-height: 98px;}
.table-img img{ border-radius: 4px; width: 64px; height: 72px; }

/* 设备管理-新建-选择范围 */
.form-add-select > div div.form-title{ width: 115px; }
.form-add-select > div div.form-content{ padding: 0 50px 0 115px; }
.use-con{ display: flex; }
.use-con > div{ width: 350px;}
.use-con > div.use-two{ width: 96px; position: relative; }
.use-con > div.use-two div{ position: absolute; left: 50%; top:50%; transform: translate(-50%,-50%); }
.use-con h1{ background: rgba(15, 113, 226, 0.08); border-radius: 4px 4px 0px 0px; padding: 0 20px; }
.use-con .layui-form-checkbox[lay-skin=primary] i{ width: 16px; height: 16px; line-height: 16px; margin: 11px 0; }
.use-con h1 .layui-form-checkbox[lay-skin=primary] i{ margin: 11px 0; }
.use-con .layui-form-checkbox[lay-skin=primary] span{
    padding-left: 25px;
	line-height: 40px;
	width: 210px;
	overflow: hidden;
	white-space:nowrap; 
	text-overflow:ellipsis;
}

.use-two p{ margin:20px; width: 56px; height: 40px; line-height: 40px; text-align: center; cursor: pointer; border-radius: 8px; background: linear-gradient(180deg, #3E6BE4 0%, #1D39C4 100%);}
.use-two p.no-click{ background: linear-gradient(180deg, #A0CFFF 100%, #A0CFFF 100%); pointer-events:none ; }
.use-list{ margin: 10px 20px; height: 280px; overflow: hidden; }
.use-list > nav{ height: 100%; margin-right: -20px; padding-right: 4px; box-sizing: border-box; overflow: hidden; overflow-y: scroll; }
.use-three-list ul{ padding-left: 50px; }